package cn.yunhe.biz;

import cn.yunhe.pojo.Record;

import java.util.List;

public interface RecordBiz {
    boolean insertRecord(Record record);
    boolean updateRecord(Record record);
    boolean deleteRecord(int id);

    Record getById(int id);
    List<Record> findRecord(String hql);
    List<Record>findRecord(Record record);
}
